import request from '@/utils/request'

// 查询模拟订单列表
export function listSimulateOrder(query) {
  return request({
    url: '/binance/simulateOrder/list',
    method: 'get',
    params: query
  })
}

// 查询模拟订单详细
export function getSimulateOrder(id) {
  return request({
    url: '/binance/simulateOrder/' + id,
    method: 'get'
  })
}

// 新增模拟订单
export function addSimulateOrder(data) {
  return request({
    url: '/binance/simulateOrder',
    method: 'post',
    data: data
  })
}

// 修改模拟订单
export function updateSimulateOrder(data) {
  return request({
    url: '/binance/simulateOrder',
    method: 'put',
    data: data
  })
}

// 删除模拟订单
export function delSimulateOrder(id) {
  return request({
    url: '/binance/simulateOrder/' + id,
    method: 'delete'
  })
}
